

class Foo extends Object {
	
	public boolean equals(Object obj) {
		//super.equals(obj);
		return this.equals(obj);
	}
	
	public int hashCode() {
		return 1234;
	}
	
}


class FooTest {
	
	public static void main(String []args){
		
		Foo f1 = new Foo();
		Foo f2 = new Foo();
		
		System.out.println("Is f1.equals(f2) ? " + (f1.equals(f2)));
		System.out.println("Is f1 == f2? " + (f1 == f2));
		System.out.println("Hashcode of f1 = " + f1.hashCode());
		System.out.println("Hashcode of f2 = " + f2.hashCode());
		
	}
}